//
//  LBBlendFilter.h
//  OpenGLGame
//
//  Created by Nguyen Cong Huy on 3/29/13.
//  Copyright (c) 2013 UIT. All rights reserved.
//

/*
 Note : Sub class of this class have to define constructor. In that constructor, get uniform location for uniforms which declared bellow. Also, these sub classes should write shahder use to init.
 */

#ifndef OpenGLGame_LBBlendFilter_h
#define OpenGLGame_LBBlendFilter_h

#include "LBFilter.h"

class LBBlendColorFilter : public LBFilter {
protected:
    float color[3];
    float opacity;
    
    unsigned int colorUniform;
    unsigned int opacityUniform;
    
public:
    LBBlendColorFilter();
    void setColor(float red, float green, float blue);
    void setOpactiy(float opacity);
};

#endif
